{
    "error":${result.error},
    <#if 0=result.error>
        "url":"${site.sitePath+result.url!}"
    <#else>
        "message":"${result.message!}"
    </#if>
}